// 定义分类相关api接口
import request from "@/utils/request";
// 获取所有分类
export const findCateGory = () => {
  return  request("/home/category/head","get")
}

// 获取顶级类目信息
export const findTopCateGory = (id) => {
    return  request("/category","get",{id})
}
  
export const findSubCategoryFilter = (id) => {
    return  request("/category/sub/filter","get",{id})
  }